<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Add Club</title>


        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>/css/admin_style.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>/css/style.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>/css/text.css" />


        <!-- General Metas -->
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><!-- Force Latest IE rendering engine -->
            <meta name="description" content="">
                <meta name="author" content="">
                    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 

                    <!-- Stylesheets -->
                    <link rel="stylesheet" href="<?php echo base_url(); ?>/css2/base.css" />
                    <link rel="stylesheet" href="<?php echo base_url(); ?>/css2/skeleton.css" />
                    <link rel="stylesheet" href="<?php echo base_url(); ?>/css2/layout.css"/>
                    <link rel="stylesheet" href="<?php echo base_url(); ?>/css/text.css"/>
                    <link rel="stylesheet" href="<?php echo base_url(); ?>/css/table1.css" />
                    <link rel="stylesheet" href="<?php echo base_url(); ?>/css/registerform.css"/>
                    <link rel="stylesheet" href="<?php echo base_url(); ?>/css2/trybutton.css"/>
                    <link rel="stylesheet" href="<?php echo base_url(); ?>/css/adminclubview.css"/>


                    <style>      
                        .table { margin-right:20px; border-collapse:collapse; }
                        .table, td, th { width:auto; border:1px solid black; padding-left:20px; padding-right:20px; }

                        .box
                        {
                            width: 498px;
                            height: 43px;
                            margin-right: -294px;
                            padding-top: 2em;
                            padding-left: 27px;
                            background-color: #ADD8E6;
                            box-shadow: 10px 10px 5px #888888;
                            font-family:Georgia, "Times New Roman", Times, serif;
                        }



                        .zebra {padding:0;
                                margin:0;
                                position:relative;


                                color:#fff;
                                letter-spacing:1px;
                                font-family:Georgia, "Times New Roman", Times, serif;
                        }

                    </style>
                    
                                    
                    <style type="text/css">
                    div#menu ul{width:1035px;margin-left:-26px;}
                    #menu ul .has-sub ul a {width:88px;}
                    #menu ul .has-sub ul {width:110px;margin-left:0px;}
                    div.logo img{margin-top:0em;}
                    div.logo2 img{margin-top:0em;}
                    div.logo1 img{margin-top:0em;}	
                    
                    </style>


                    <script type="text/javascript" src="<?php echo base_url(); ?>/text/nicEdit.js"></script>
                    <script language="javascript" type="text/javascript">
                        bkLib.onDomLoaded(function() {
                            nicEditors.allTextAreas()
                        });

                    </script>
                    </head>
                     <body>
                     <div id="" style="border:2px solid #FFF;
                        border: 2px solid #FFF;
                        position: absolute;
                        width: 1050px;
                        margin-left: 150px;
                        height: 1129px;
                        background-color: #CCC;
                        z-index: -60;-webkit-box-shadow: 0px 0px 10px rgba(50, 50, 50, 1);
                        -moz-box-shadow:    0px 0px 10px rgba(50, 50, 50, 1);
                        box-shadow:         0px 0px 10px rgba(50, 50, 50, 1); ">
                      </div>
                      
                      <!----start of banner--->
    <div style="background-image:url(<?php echo base_url(); ?>/images/wallpaper/Fotor1219134327.jpg);height: 218px;width: 1054px;margin-right: 145px;float: right;margin-top: 0em;">
    <div class="logo"> <img src="<?php echo base_url(); ?>/images/logo/image.gif"></div>
    <div style="float: left;margin-left: -339px;margin-top: 11em;color: white;font-family: monospace;font-size: small;">By: Grand Master Casimiro "CHINGI" Grandez</div>
    </div> <!----end of banner--->
    
    
     

					
                     <div id="menu">
        <?php $this->load->view('menu_view'); ?>
        <div id="logout">
            <?php echo anchor("GSD_admin/user_add", "Logout"); ?>    
        </div>
    </div>
    

                        
          <!----start of banner--->
            
   		 </div> <!----end of banner--->
                        
                        <?php echo validation_errors('<p class="error">'); ?>
                        <?php echo form_open_multipart('club_ctrl/insert_club'); ?>
                        
                        <div class="addclubwrapper"><!---start wrapper--->
                            <div class="addclubform"> <!---start clubform--->
                           	
                           		<div class="club_content_left"><!---start club_content_left--->
                                    <div class="text5">Club Name: </div>
                                    <input type="text" name="clubname"  />
                                    <div class="text5" >Address</div>  
                                    <input type="text" name="address" id="myAddress" onchange="myLocation()" />  
                                    <div class="text5">Date Founded:</div>    
                                    <label for="dateFounded"></label>
                                    <div class="mydate">
                                        <input name="dateFounded" style="margin-left:20px;" class="mydate" type="date" data-role="datebox" data-options='{"mode":"calbox","useFocus": true}' />
                                    </div>
                                    <script type="text/javascript" src="<?php echo base_url(); ?>/text/nicEdit.js"></script>
                                    <script type="text/javascript">bkLib.onDomLoaded(function() {
                                            nicEditors.allTextAreas()
                                        });</script>

                                    <div class="text5">History:</div> 
                                    <div style="margin-left: 122px; margin-top: -2em;color:#FFF">
                                        <textarea name="history" style="width: 300px; height: 100px; color:#000">Please Type Content Here</textarea>
                                    </div>
                                    </br>
                                    </br>
                                    <div class="schedule">
                                     <script type="text/javascript" src="<?php echo base_url(); ?>/text/nicEdit.js"></script>
                                    <script type="text/javascript">bkLib.onDomLoaded(function() {
                                            nicEditors.allTextAreas()
                                        });</script>

                                    <div class="text5">Schedule:</div> 
                                    <div style="margin-left: 122px; margin-top: -2em;color:#FFF">
                                        <textarea name="schedule" style="width: 300px; height: 100px;">Please Type Content Here</textarea>
                                    </div>
                                </div><!---end club_content_left--->
                                
                                
                                
                           
                           
                           						
                                <div class="club_content_right"><!---start club_content_right--->
                                    <div class="text5">Upload a Logo:&nbsp; &nbsp;&nbsp;</div>
                                    <div class="choosephoto">
                                        <input type="file" name="clubLogo" size="20" />
                                    </div>
                                    <div class="text5">Mobile:</div>       
                                    <input type="text" name="mobile" /> 
                                    <div class="text5">Tel No.:</div>
                                    <input type="text" name="telno"  /> 
                                    <div class="text5">Facebook Page:</div>  
                                    <input type="text" name="fbpage"  />  
                                    <div class="text5">Skype:</div>       
                                    <input type="text" name="skype"  /> 
                                    <div class="text5">Website:</div>       
                                    <input type="text" name="website"  /> 
                                    <div class="text5">Upload a Photo:&nbsp; &nbsp;&nbsp;</div>
                                    <div class="choosephoto">
                                        <input type="file" multiple name="clubPhotos[]" size="20" />
                                    </div>
                                </div><!---end club_content_right--->
                                
                                
                                
                                 
                                    <div class="club_content_below_input"><!---start club_content_below_input--->
                                    	
                                         <div class="text5">Instructors:</div>  
                                        <input type="text" name="" />  
                                        
                                        <div class="text5">Club Master:</div>
                                        <select name="clubmaster">
                                            <?php
                                            foreach ($users as $user) {
                                                echo '<option value="' . $user['userid'] . '">' . $user['fname'] .' ' . $user['lname'] . '</option>';
                                            }
                                            ?>
                                        </select>
                                        
                                        
                                        <div class="text5">Co-Club Master:</div>
                                        <select name="coclubmaster">
                                            <?php
                                            foreach ($users as $user) {
                                                echo '<option value="' . $user['userid'] . '">' . $user['fname'] .' ' . $user['lname'] . '</option>';
                                            }
                                            ?>
                                        </select>
                                        
                                    </div><!---end club_content_below_input--->


									
									<div class="savebutton">
                                <input type="submit" name="mysubmit" class="push_button blue" value="Save Club" />		
                          		</div>  
                           

                           		
                                     
                                    
                           </div>
                           
                           	</div><!---end clubform--->
                        </div><!---end wrapper--->
                        	
                                
                        <?php echo form_close() ?>


                       
                <!----start footer--------->
                <div style=" background: #006;margin-top: -20.2em;margin-left: 150px;width: 1054px;height: 96px;">
                    <div class="buttom_menu">
                    <br/>
                   
            
                    <div><a href="###">Home</a></div> 
                    <div style="margin-left: 50px;margin-top: -1.5em;"><a href="###">About</a></div>    
                    <div style="margin-left: 98px;margin-top: -1.5em;"><a href="###">Contact Us</a></div>
                    <div style="margin-left: 174px;margin-top: -1.5em;"> <a href="###">Shop</a></div>
                    </div>
                    <br/><div style="font-family: monospace;color: white;font-size: 10px;margin-top: 0em;text-align: -webkit-center;">All Rights Reserved 2013. Copyright www.websiteurl.com</div>
                    <div style="font-family: monospace;color: white;font-size: 10px;margin-top: -1em;text-align: -webkit-center;">Develop by: Softbiz Global IT Solutions www.softbizglobal.com</div>
                </div>  <!----end footer--------->


                    </body>
                    </html>


